-- @owner: lvlintao666
-- @date: 2022/04/12
-- @testpoint: 创建表时对int类型的数组指定default serial.nextval,合理报错

--step1:创建表时对int类型的数组指定default serial.nextval;expect:合理报错
drop sequence if exists serial cascade ;
create sequence serial start 101 cache 20;
drop table if exists t_ustore_datatype_array_0026;
create table t_ustore_datatype_array_0026 (c1_int int,c2_varchar varchar(8000)[] null,c3_bigint bigint,c4_int int[] default serial.nextval) with (storage_type=ustore);

--step2:环境清理;expect:成功
drop sequence serial cascade ;